home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9598 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: newshost.cyberramp.net!news
  2. From: sinan@cyberramp.net (John Noland)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Object Oriented programming in C ????
  5. Date: 12 Mar 1996 00:54:14 GMT
  6. Organization: Prose Software
  7. Message-ID: <4i2hvm$ect@newshost.cyberramp.net>
  8. References: <4higq7$5j2@sidhe.memra.com>
  9. NNTP-Posting-Host: ramp1-12.cyberramp.net
  10. X-Newsreader: WinVN 0.99.5
  11.  
  12. In article <4higq7$5j2@sidhe.memra.com>, michael@memra.com says...
  13. >
  14. >Does anyone know of resources that explain how to write OO programs in C?
  15. >I know about C++ and Objective C and I don't like either one. I would 
  16. >like to be able to write OO programs in straight C (with some 
  17. >preprocessor help for syntactic sugar) so that my code is fully portable 
  18. >between a number os OS's.
  19. >
  20.  
  21. There is a book on this that I really like.
  22.  
  23. C+C++ - Programming With Objects in C and C++
  24. Alan I. Holub
  25. McGraw-Hill 1992, ISBN 0-07-029662-6
  26.  
  27. The first chapter is called Object-Oriented Programming in C. It's a great
  28. book. He also has a book called "Compiler Design in C". He uses an object
  29. oriented development style in straight C to develop a C compiler. FWIW, I
  30. think you'll find that if you have an application that lends itself to
  31. an object-oriented solution, C++ is the better choice. 
  32.  
  33. -John
  34.  
  35.  
  36.